import mpStatisticsApi from '@/api/declaration/mp/mpStatisticsApi'
import httpRequest from '@/config/axios/httpRequest'

// 获取消息发送概况数据
export const getUpstreamMessage = (query) => {
  return httpRequest.get(mpStatisticsApi.GetUpstreamMessage, {params: query})
}

// 用户增减数据
export const getUserSummary = (query) => {
  return httpRequest.get(mpStatisticsApi.GetUserSummary, {params: query})
}

// 获得用户累计数据
export const getUserCumulate = (query) => {
  return httpRequest.get(mpStatisticsApi.GetUserCumulate, {params: query})
}

// 获得接口分析数据
export const getInterfaceSummary = (query) => {
  return httpRequest.get(mpStatisticsApi.GetInterfaceSummary, {params: query})
}
